Issue #1763
Gbp-Pq: Name CVE-2026-102621.patch
#include <config.h>
#include <algorithm>
+#include "goo/GooCheckedOps.h"
+#include "goo/GooLikely.h"
#include "SplashErrorCodes.h"
#include "SplashMath.h"
#include "SplashPath.h"
} else {
if (antialias) {
xPath.aaScale();
- yMinAA = yMinI * splashAASize;
+ if (unlikely(checkedMultiply(yMinI, splashAASize, &yMinAA))) {
+ return SplashError::Generic;
+ }
yMaxAA = (yMaxI + 1) * splashAASize - 1;
} else {
yMinAA = yMinI;